#-------------------------------------------------
#
# Project created by QtCreator 2024-07-03T10:03:17
#
#-------------------------------------------------

QT       += core gui xml

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = Main
TEMPLATE = app


#版本信息
#版本号
VERSION = 1.0.0

#图标
RC_ICONS = $$PWD/rescource/logo.ico
ICON += $$PWD/rescource/logo.png

#公司名称
QMAKE_TARGET_COMPANY = "ADTECH"

#产品名称
QMAKE_TARGET_PRODUCT = "安装程序管理工具"

#文件说明
QMAKE_TARGET_DESCRIPTION = "Qt Creator based on Qt 5.12.6 (msvc_2015 32bit)"

#版权信息
QMAKE_TARGET_COPYRIGHT = "Copyright 2021-2026 The ADTECH Company Ltd. All rights reserved."

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0


DESTDIR = ../bin/
CONFIG += c++11

SOURCES += \
        main.cpp \
        mainwindow.cpp

HEADERS += \
        mainwindow.h

FORMS += \
        mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target


#lib所在位置
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../Desktop_Qt_5_9_8_MSVC2015_32bit/bin/ -lLanguage
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Desktop_Qt_5_9_8_MSVC2015_32bit/bin/ -lLanguage
else:unix: LIBS += -L$$PWD/../../Desktop_Qt_5_9_8_MSVC2015_32bit/bin/ -lLanguage

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../Desktop_Qt_5_9_8_MSVC2015_32bit/bin/ -lIniFileHelper
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Desktop_Qt_5_9_8_MSVC2015_32bit/bin/ -lIniFileHelper
else:unix: LIBS += -L$$PWD/../../Desktop_Qt_5_9_8_MSVC2015_32bit/bin/ -lIniFileHelper

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../Desktop_Qt_5_9_8_MSVC2015_32bit/bin/ -lXmlFileHelper
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Desktop_Qt_5_9_8_MSVC2015_32bit/bin/ -lXmlFileHelper
else:unix: LIBS += -L$$PWD/../../Desktop_Qt_5_9_8_MSVC2015_32bit/bin/ -lXmlFileHelper

#头文件所在位置
INCLUDEPATH += $$PWD/../../SoftwareInstallationManager/Language
DEPENDPATH += $$PWD/../../SoftwareInstallationManager/Language

INCLUDEPATH += $$PWD/../../SoftwareInstallationManager/IniFileHelper
DEPENDPATH += $$PWD/../../SoftwareInstallationManager/IniFileHelper

INCLUDEPATH += $$PWD/../../SoftwareInstallationManager/XmlFileHelper
DEPENDPATH += $$PWD/../../SoftwareInstallationManager/XmlFileHelper
